package com.carrental.api.pms.domain.bo;

import com.carrental.common.core.validate.AddGroup;
import com.carrental.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.carrental.common.core.domain.BaseEntity;

/**
 * 线下网点业务对象 pms_store
 *
 * @author liangyi
 * @date 2022-03-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("线下网点业务对象")
public class PmsStoreBo extends BaseEntity {

    /**
     * 网点id
     */
    @ApiModelProperty(value = "网点id")
    private Long storeId;

    /**
     * 所在城市id
     */
    @ApiModelProperty(value = "所在城市id")
    private String cityId;

    /**
     * 门店负责人id
     */
    @ApiModelProperty(value = "门店负责人id")
    private Long managerId;

    /**
     * 经纬度
     */
    @ApiModelProperty(value = "经纬度")
    private String position;

    /**
     * 门店名字
     */
    @ApiModelProperty(value = "门店名字")
    private String storeName;

    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话")
    private String telephone;

    /**
     * 联系邮箱
     */
    @ApiModelProperty(value = "联系邮箱")
    private String email;

    /**
     * 门店地址
     */
    @ApiModelProperty(value = "门店地址")
    private String address;

    /**
     * 营业开始时间
     */
    @ApiModelProperty(value = "营业开始时间")
    @JsonFormat(pattern = "HH:mm:ss")
    private LocalTime openHour;

    /**
     * 营业结束时间
     */
    @ApiModelProperty(value = "营业结束时间")
    @JsonFormat(pattern = "HH:mm:ss")
    private LocalTime closeHour;

    /**
     * 是否启用
     */
    @ApiModelProperty(value = "是否启用")
    private Integer isEnabled;


}
